import request from '@/utils/request'

// 查询森理会员列表
export function listSlCustom(query) {
  return request({
    url: '/projects/SlCustom/list',
    method: 'get',
    params: query
  })
}

// 查询森理会员详细
export function getSlCustom(id) {
  return request({
    url: '/projects/SlCustom/' + id,
    method: 'get'
  })
}

// 新增森理会员
export function addSlCustom(data) {
  return request({
    url: '/projects/SlCustom',
    method: 'post',
    data: data
  })
}

// 修改森理会员
export function updateSlCustom(data) {
  return request({
    url: '/projects/SlCustom',
    method: 'put',
    data: data
  })
}

// 删除森理会员
export function delSlCustom(id) {
  return request({
    url: '/projects/SlCustom/' + id,
    method: 'delete'
  })
}
